home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / misc / vgadoc3.arj / MXIC.TXT < prev    next >
Text File  |  1994-01-18  |  2KB  |  70 lines

  1. MX 86000   512K, 800x600x256c/1024x768x16c
  2. MX 86010   1MB, 1024x768x26colors
  3.  
  4.  
  5. 3C4h index 30h-33h (R/W):  Scratch
  6. Note: used by MXIC utilities to store the old IRQ 2 interrupt address.
  7.  
  8. 3C4h index 34h (R/W): 
  9. bit 0-1  Monitor type: 0=VGA, 1=8514A, 2=NEC 3D, 3=NEC 4D
  10.  
  11. 3C4h index 65h (R/W):
  12. bit   6  Set to enable access to extended registers (3C4h index 8-FFh).
  13.  
  14. 3C4h index 90h (R/W):
  15. bit 0-1  ??
  16.  
  17. 3C4h index A7h (W?):  Enable extensions
  18. bit 0-7  Writing 87h to this register enables the MXIC extensions,
  19.          writing 0 disables them.
  20.  
  21. 3C4h index C2h (R/W):
  22. bit 2-3  Video RAM installed: 0=256k, 1=512k, 2=1M
  23.  
  24. 3C4h index C3h (R/W):
  25. bit   2  Set to enable banked access via index C5h.
  26.       7  Bus width?. 0=8 bit, 1=16 bit.
  27.  
  28. 3C4h index C5h (R/W):  Bank register
  29. bit 0-3  Write bank in 64k blocks.
  30.     4-7  Read bank in 64k blocks
  31.  
  32. 3C4h index F0h (R/W):
  33. bit 0-1  3 if interlaced, 0 if not.
  34.       3  If clear the display will wrap at 256K.
  35.  
  36. 3C4h index F1h (R/W):
  37. bit   0  Display Start Address bit 16 (bit 17 may be in bit 1 ??)
  38.  
  39. 3C4h index F2h (R/W):
  40. bit   7  Set if IRQ2 enabled, clear if not.
  41.  
  42. Apparently the sequencer (3C4/5h) does not decode bit 3-4 of the index, thus
  43. index 7 is duplicated at 0Fh, 17h and 1Fh.
  44.  
  45.  
  46. Test for MXIC chip:
  47.  
  48. old:=rdinx($3C4,$A7);
  49. wrinx($3C4,$A7,0);     {Disable extensions}
  50. if not testinx($3C4,$C5) then
  51. begin
  52.   wrinx($3C4,$A7,$87);
  53.   if testinx($3C4,$C5) then
  54.     if (rdinx($3C4,$26) and 1)=0 then MXIC MX86010
  55.                                  else MXIC MX86000
  56. end;
  57. wrinx($3C4,$A7,old);
  58.  
  59.  
  60.   Video modes:
  61.     50h  T   132   25   16  (8x16)
  62.     51h  T   132   30   16  (8x16)
  63.     55h  G   800  600   16  PL4
  64.     56h  G  1024  768   16  PL4
  65.     57h  G   640  350  256  P8
  66.     58h  G   640  400  256  P8
  67.     59h  G   640  480  256  P8
  68.     5Ah  G   800  600  256  P8
  69.     5Bh  G  1024  768  256  P8
  70.